﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MongoDB.Driver;

namespace mySite.Data.MongoDB
{
    public class DatabaseFactory
    {

        public static Database CreateDatabase()
        {
            var mongo = new Mongo();
            mongo.Connect();
            var db = mongo.GetDatabase("mysite");

            return db;
        }
    }
}
